Finding Directories
You can use theFindFolder
function to get the path information you need to gain access to the system-related directories described in "Using the System Folder and Its Related Directories" beginning on page 7-39. Those you're most likely to want to access are Preferences, Temporary Items, and Trash. For example, you might wish to check for the existence of a user's configuration file in Preferences, create a temporary file in Temporary Items, or--if your application runs out of disk storage when trying to save a file--check how much disk storage is taken by items in the Trash directory and report this to the user.
Subtopics
- FindFolder